package com.apartment.own.domain;

import com.apartment.common.annotation.Excel;
import com.apartment.common.core.domain.BaseEntity;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 普通用户对象 own_ou_user
 * 
 * @author @Dog_E
 * @date 2020-08-28
 */
@Data
@ApiModel("普通用户")
public class OwnOuUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    @ApiModelProperty("ID")
    private Long id;

    /** 删除标志（0代表存在 2代表删除） */
    @ApiModelProperty("删除标志（0代表存在 2代表删除）")
    private String delFlag;

    /** 手机号 */
    @ApiModelProperty("手机号")
    @Excel(name = "手机号")
    private String tel;

    /** 姓名 */
    @ApiModelProperty("姓名")
    @Excel(name = "姓名")
    private String name;

    /** 证件类型 */
    @ApiModelProperty("证件类型")
    @Excel(name = "证件类型")
    private String idType;

    /** 证件号 */
    @ApiModelProperty("证件号")
    @Excel(name = "证件号")
    private String idCard;

    /** 正面 */
    @ApiModelProperty("正面")
    @Excel(name = "正面")
    private String idCardFront;

    /** 背面 */
    @ApiModelProperty("背面")
    @Excel(name = "背面")
    private String idCardBack;

    /** 收款人 */
    @ApiModelProperty("收款人")
    @Excel(name = "收款人")
    private String payee;

    /** 银行类型 */
    @ApiModelProperty("银行类型")
    @Excel(name = "银行类型")
    private Long bankType;

    /** 银行卡号 */
    @ApiModelProperty("银行卡号")
    @Excel(name = "银行卡号")
    private String bankCardId;

    /** 银行支行 */
    @ApiModelProperty("银行支行")
    @Excel(name = "银行支行")
    private String bankBranch;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setTel(String tel) 
    {
        this.tel = tel;
    }

    public String getTel() 
    {
        return tel;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setIdType(String idType) 
    {
        this.idType = idType;
    }

    public String getIdType() 
    {
        return idType;
    }
    public void setIdCard(String idCard) 
    {
        this.idCard = idCard;
    }

    public String getIdCard() 
    {
        return idCard;
    }
    public void setIdCardFront(String idCardFront) 
    {
        this.idCardFront = idCardFront;
    }

    public String getIdCardFront() 
    {
        return idCardFront;
    }
    public void setIdCardBack(String idCardBack) 
    {
        this.idCardBack = idCardBack;
    }

    public String getIdCardBack() 
    {
        return idCardBack;
    }
    public void setPayee(String payee) 
    {
        this.payee = payee;
    }

    public String getPayee() 
    {
        return payee;
    }
    public void setBankType(Long bankType) 
    {
        this.bankType = bankType;
    }

    public Long getBankType() 
    {
        return bankType;
    }
    public void setBankCardId(String bankCardId) 
    {
        this.bankCardId = bankCardId;
    }

    public String getBankCardId() 
    {
        return bankCardId;
    }
    public void setBankBranch(String bankBranch) 
    {
        this.bankBranch = bankBranch;
    }

    public String getBankBranch() 
    {
        return bankBranch;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("tel", getTel())
            .append("name", getName())
            .append("idType", getIdType())
            .append("idCard", getIdCard())
            .append("idCardFront", getIdCardFront())
            .append("idCardBack", getIdCardBack())
            .append("payee", getPayee())
            .append("bankType", getBankType())
            .append("bankCardId", getBankCardId())
            .append("bankBranch", getBankBranch())
            .toString();
    }
}
